home *** CD-ROM | disk | FTP | other *** search
- /*
- SongPlayerCLI v1.52 (by Gareth Griffiths)
- E-Mail: gazchap@btinternet.com
- Select.rexx - Prompts for, and then moves to, a selected file.
- */
-
- IF ~SHOW('P','SONGPLAYER.1') THEN DO
- ADDRESS COMMAND
- SAY "Can't find ARexx port 'SONGPLAYER.1'"
- EXIT
- END
-
- OPTIONS RESULTS
- ADDRESS COMMAND
- PARSE ARG num
- IF num = "" THEN DO
- OPTIONS PROMPT 'Enter ID Number: '
- PULL num
- END
- ADDRESS SONGPLAYER.1
- 'SELECT 'num
- 'PLAY'
- 'GET_TITLE';title=result
- 'GET_ARTIST';artist=result
- 'GET_SELECTED';index=result
- ADDRESS COMMAND
- SAY 'Current File: ('index') 'artist': 'title
- EXIT